package com.jiazhong.shuzu;


public class Test06 {
    public static void main(String[] args) {
        int a[]={72,89,65,58,87,91,53,82,71,93,76,68};
        int count[]=new int[5];
        int num=0;
        for (int i=0;i<a.length;i++){
            if (a[i]>=90)
                count[4]+=1;
            else if (a[i]>=80)
                count[3]+=1;
            else if (a[i]>=70)
                count[2]+=1;
            else if (a[i]>=60)
                count[1]+=1;
            else
                count[0]+=1;
        }
        for (int i=1;i< count.length;i++){
            System.out.println(" "+count[i]);
        }

    }
}
